home *** CD-ROM | disk | FTP | other *** search
/ The Beauty of Chaos / Beauty of Chaos, The - Vol. 1 (1995)(Schatztruhe)[!][Amiga-Mac-PC].iso / mac / gifconverter2.37.cpt.hqx / GIFConverter 2.3.7.rsrc / bin.rsrc_CODE_88_MAMiniInit.txt < prev    next >
Text File  |  1994-01-29  |  52KB  |  929 lines

  1. # near model CODE resource
  2. # jump table entries: 22208-22210 (3 of them)
  3. export_2776:
  4. 00000000  4E56 0000                link       A6, 0
  5. 00000004  2F0C                     move.l     -[A7], A4
  6. 00000006  70FF                     moveq.l    D0, 0xFFFFFFFF
  7. 00000008  A055                     syscall    StripAddress
  8. 0000000A  2B40 FD56                move.l     [A5 - 0x2AA], D0
  9. 0000000E  486D FD64                pea.l      [A5 - 0x29C]
  10. 00000012  4EBA 0166                jsr        [PC + 0x166 /* 0000017A */]
  11. 00000016  4A2D FD8A                tst.b      [A5 - 0x276]
  12. 0000001A  664A                     bne        +0x4C /* 00000066 */
  13. 0000001C  486D F4B0                pea.l      [A5 - 0xB50]
  14. 00000020  A86E                     syscall    InitGraf
  15. 00000022  A8FE                     syscall    InitFonts
  16. 00000024  A912                     syscall    InitWindows
  17. 00000026  3F3C 7F7F                move.w     -[A7], 0x7F7F
  18. 0000002A  7000                     moveq.l    D0, 0x00
  19. 0000002C  3F00                     move.w     -[A7], D0
  20. 0000002E  201F                     move.l     D0, [A7]+
  21. 00000030  A032                     syscall    FlushEvents
  22. 00000032  70FF                     moveq.l    D0, 0xFFFFFFFF
  23. 00000034  31C0 0144                move.w     [0x00000144 /* SysEvtMask */], D0
  24. 00000038  A930                     syscall    InitMenus
  25. 0000003A  A9CC                     syscall    TEInit
  26. 0000003C  7000                     moveq.l    D0, 0x00
  27. 0000003E  2F00                     move.l     -[A7], D0
  28. 00000040  A97B                     syscall    InitDialogs
  29. 00000042  598F                     subq.l     A7, 4
  30. 00000044  7004                     moveq.l    D0, 0x04
  31. 00000046  3F00                     move.w     -[A7], D0
  32. 00000048  A9B9                     syscall    GetCursor
  33. 0000004A  285F                     movea.l    A4, [A7]+
  34. 0000004C  A850                     syscall    InitCursor
  35. 0000004E  200C                     move.l     D0, A4
  36. 00000050  6704                     beq        +0x6 /* 00000056 */
  37. 00000052  2F14                     move.l     -[A7], [A4]
  38. 00000054  A851                     syscall    SetCursor
  39. label00000056:
  40. 00000056  558F                     subq.l     A7, 2
  41. 00000058  A994                     syscall    CurResFile
  42. 0000005A  3B5F FD8C                move.w     [A5 - 0x274], [A7]+
  43. 0000005E  1B7C 0001 FD62           move.b     [A5 - 0x29E], 0x1
  44. 00000064  6002                     bra        +0x4 /* 00000068 */
  45. label00000066:
  46. 00000066  A9F4                     syscall    ExitToShell
  47. label00000068:
  48. 00000068  286E FFFC                movea.l    A4, [A6 - 0x4]
  49. 0000006C  4E5E                     unlink     A6
  50. 0000006E  4E75                     rts
  51. 00000070  9144                     subx.w     D0, D4
  52. 00000072  4F52                     chk.w      D7, [A2]
  53. 00000074  4541                     chk.w      D2, D1
  54. 00000076  4C49 4E49                movem.l    D0,D3,D6,A1,A2,A3,A6, A1
  55. 0000007A  5454                     addq.w     [A4], 2
  56. 0000007C  4F4F                     chk.w      D7, A7
  57. 0000007E  4C42 4F58                movem.l    D3,D4,D6,A0,A1,A2,A3,A6, D2
  58. 00000082  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  59. export_2777: // at 00000084 (misaligned)
  60. 00000086  0000 48E7                ori.b      D0, 0xE7
  61. 0000008A  1108                     move.b     -[A0], A0
  62. 0000008C  286E 0008                movea.l    A4, [A6 + 0x8]
  63. 00000090  7E01                     moveq.l    D7, 0x01
  64. 00000092  7600                     moveq.l    D3, 0x00
  65. 00000094  4A07                     tst.b      D7
  66. 00000096  6708                     beq        +0xA /* 000000A0 */
  67. 00000098  4A2C 0012                tst.b      [A4 + 0x12]
  68. 0000009C  6702                     beq        +0x4 /* 000000A0 */
  69. 0000009E  7601                     moveq.l    D3, 0x01
  70. label000000A0:
  71. 000000A0  1E03                     move.b     D7, D3
  72. 000000A2  7600                     moveq.l    D3, 0x00
  73. 000000A4  4A07                     tst.b      D7
  74. 000000A6  6708                     beq        +0xA /* 000000B0 */
  75. 000000A8  4A2C 0015                tst.b      [A4 + 0x15]
  76. 000000AC  6702                     beq        +0x4 /* 000000B0 */
  77. 000000AE  7601                     moveq.l    D3, 0x01
  78. label000000B0:
  79. 000000B0  1E03                     move.b     D7, D3
  80. 000000B2  7600                     moveq.l    D3, 0x00
  81. 000000B4  4A07                     tst.b      D7
  82. 000000B6  6708                     beq        +0xA /* 000000C0 */
  83. 000000B8  4A2C 0014                tst.b      [A4 + 0x14]
  84. 000000BC  6702                     beq        +0x4 /* 000000C0 */
  85. 000000BE  7601                     moveq.l    D3, 0x01
  86. label000000C0:
  87. 000000C0  1E03                     move.b     D7, D3
  88. 000000C2  7600                     moveq.l    D3, 0x00
  89. 000000C4  4A07                     tst.b      D7
  90. 000000C6  6708                     beq        +0xA /* 000000D0 */
  91. 000000C8  4A2C 0016                tst.b      [A4 + 0x16]
  92. 000000CC  6702                     beq        +0x4 /* 000000D0 */
  93. 000000CE  7601                     moveq.l    D3, 0x01
  94. label000000D0:
  95. 000000D0  1E03                     move.b     D7, D3
  96. 000000D2  7600                     moveq.l    D3, 0x00
  97. 000000D4  4A07                     tst.b      D7
  98. 000000D6  6708                     beq        +0xA /* 000000E0 */
  99. 000000D8  4A2C 0018                tst.b      [A4 + 0x18]
  100. 000000DC  6702                     beq        +0x4 /* 000000E0 */
  101. 000000DE  7601                     moveq.l    D3, 0x01
  102. label000000E0:
  103. 000000E0  1E03                     move.b     D7, D3
  104. 000000E2  7600                     moveq.l    D3, 0x00
  105. 000000E4  4A07                     tst.b      D7
  106. 000000E6  670A                     beq        +0xC /* 000000F2 */
  107. 000000E8  0C6C 0605 0004           cmpi.w     [A4 + 0x4], 0x605
  108. 000000EE  6D02                     blt        +0x4 /* 000000F2 */
  109. 000000F0  7601                     moveq.l    D3, 0x01
  110. label000000F2:
  111. 000000F2  1E03                     move.b     D7, D3
  112. 000000F4  4A2C 001B                tst.b      [A4 + 0x1B]
  113. 000000F8  6704                     beq        +0x6 /* 000000FE */
  114. 000000FA  4EAD 030A                jsr        [A5 + 0x30A /* export_93 */]
  115. label000000FE:
  116. 000000FE  1D47 000C                move.b     [A6 + 0xC], D7
  117. 00000102  4CEE 1088 FFF4           movem.l    D3,D7,A4, [A6 - 0xC]
  118. 00000108  4E5E                     unlink     A6
  119. 0000010A  2E9F                     move.l     [A7], [A7]+
  120. 0000010C  4E75                     rts
  121. 0000010E  9556                     sub.w      [A6], D2
  122. 00000110  414C                     chk.w      D0, A4
  123. 00000112  4944                     chk.w      D4, D4
  124. 00000114  4154                     chk.w      D0, [A4]
  125. 00000116  4543                     chk.w      D2, D3
  126. 00000118  4F4E                     chk.w      D7, A6
  127. 0000011A  4649                     not.w      A1
  128. 0000011C  4755                     chk.w      D3, [A5]
  129. 0000011E  5241                     addq.w     D1, 1
  130. 00000120  5449                     addq.w     A1, 2
  131. 00000122  4F4E                     chk.w      D7, A6
  132. 00000124  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  133. // begin alternate branch 00000126-0000012A
  134. fn00000126:
  135. 00000126  4E56 FFFC                link       A6, -0x0004
  136. // end alternate branch 00000126-0000012A
  137. fn00000126: // (misaligned)
  138. 00000128  FFFC                     .invalid   <<F/7/7>>
  139. 0000012A  2F03                     move.l     -[A7], D3
  140. 0000012C  7600                     moveq.l    D3, 0x00
  141. 0000012E  2F03                     move.l     -[A7], D3
  142. 00000130  558F                     subq.l     A7, 2
  143. 00000132  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  144. 00000136  486E FFFC                pea.l      [A6 - 0x4]
  145. 0000013A  4EAD 05FA                jsr        [A5 + 0x5FA /* export_187 */]
  146. 0000013E  301F                     move.w     D0, [A7]+
  147. 00000140  261F                     move.l     D3, [A7]+
  148. 00000142  4A40                     tst.w      D0
  149. 00000144  6612                     bne        +0x14 /* 00000158 */
  150. 00000146  302E 000E                move.w     D0, [A6 + 0xE]
  151. 0000014A  222E FFFC                move.l     D1, [A6 - 0x4]
  152. 0000014E  E0A1                     asr        D1, D0
  153. 00000150  7001                     moveq.l    D0, 0x0